package com.mod.pojo;

import java.math.BigInteger;
import java.sql.Timestamp;

/**
 * 存储文章（包括页面、上传文件、修订）
 * @author mod
 *	@version 1.1
 *	2012/3/19
 */
public class post {
	
	private static String tableName="posts";
	private long id; //自增唯一ID
	private long postAuthor; //对应作者ID
	private Timestamp postDate; //发布时间
	private Timestamp posDateGmt; //发布时间（GMT+0时间）
	private String postContent; //正文
	private String postTitle; //标题
	private String postExcerpt; //摘录
	private String postStatus; //文章状态（publish/auto-draft/inherit等）
	private String commentStatus; //评论状态（open/closed）
	private String pingStatus; //PING状态（open/closed）
	private String postPassword; //文章密码
	private String postName; //文章缩略名
	private String toPing; 
	private String pinged; //已经PING过的链接
	private Timestamp postModified; //修改时间
	private Timestamp postModifiedGmt; //修改时间（GMT+0时间）
	private String postContentFiltered;
	private long postParent;  //父文章，主要用于PAGE
	private String guid;
	private long menuOrder; //排序ID
	private String postType; //文章类型（post/page等）
	private String postMimeType; //MIME类型
	private long commentCount; //评论总数
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getPostAuthor() {
		return postAuthor;
	}
	public void setPostAuthor(long postAuthor) {
		this.postAuthor = postAuthor;
	}
	public Timestamp getPostDate() {
		return postDate;
	}
	public void setPostDate(Timestamp postDate) {
		this.postDate = postDate;
	}
	public Timestamp getPosDateGmt() {
		return posDateGmt;
	}
	public void setPosDateGmt(Timestamp posDateGmt) {
		this.posDateGmt = posDateGmt;
	}
	public String getPostContent() {
		return postContent;
	}
	public void setPostContent(String postContent) {
		this.postContent = postContent;
	}
	public String getPostTitle() {
		return postTitle;
	}
	public void setPostTitle(String postTitle) {
		this.postTitle = postTitle;
	}
	public String getPostExcerpt() {
		return postExcerpt;
	}
	public void setPostExcerpt(String postExcerpt) {
		this.postExcerpt = postExcerpt;
	}
	public String getPostStatus() {
		return postStatus;
	}
	public void setPostStatus(String postStatus) {
		this.postStatus = postStatus;
	}
	public String getCommentStatus() {
		return commentStatus;
	}
	public void setCommentStatus(String commentStatus) {
		this.commentStatus = commentStatus;
	}
	public String getPingStatus() {
		return pingStatus;
	}
	public void setPingStatus(String pingStatus) {
		this.pingStatus = pingStatus;
	}
	public String getPostPassword() {
		return postPassword;
	}
	public void setPostPassword(String postPassword) {
		this.postPassword = postPassword;
	}
	public String getPostName() {
		return postName;
	}
	public void setPostName(String postName) {
		this.postName = postName;
	}
	public String getToPing() {
		return toPing;
	}
	public void setToPing(String toPing) {
		this.toPing = toPing;
	}
	public String getPinged() {
		return pinged;
	}
	public void setPinged(String pinged) {
		this.pinged = pinged;
	}
	public Timestamp getPostModified() {
		return postModified;
	}
	public void setPostModified(Timestamp postModified) {
		this.postModified = postModified;
	}
	public Timestamp getPostModifiedGmt() {
		return postModifiedGmt;
	}
	public void setPostModifiedGmt(Timestamp postModifiedGmt) {
		this.postModifiedGmt = postModifiedGmt;
	}
	public String getPostContentFiltered() {
		return postContentFiltered;
	}
	public void setPostContentFiltered(String postContentFiltered) {
		this.postContentFiltered = postContentFiltered;
	}
	public long getPostParent() {
		return postParent;
	}
	public void setPostParent(long postParent) {
		this.postParent = postParent;
	}
	public String getGuid() {
		return guid;
	}
	public void setGuid(String guid) {
		this.guid = guid;
	}
	public long getMenuOrder() {
		return menuOrder;
	}
	public void setMenuOrder(long menuOrder) {
		this.menuOrder = menuOrder;
	}
	public String getPostType() {
		return postType;
	}
	public void setPostType(String postType) {
		this.postType = postType;
	}
	public String getPostMimeType() {
		return postMimeType;
	}
	public void setPostMimeType(String postMimeType) {
		this.postMimeType = postMimeType;
	}
	public long getCommentCount() {
		return commentCount;
	}
	public void setCommentCount(long commentCount) {
		this.commentCount = commentCount;
	}
	
	
}
